home *** CD-ROM | disk | FTP | other *** search
- #ifndef SYS_PARAM_H
- #define SYS_PARAM_H
-
- #ifndef SYS_TYPES_H
- #include <sys/types.h>
- #endif
-
- #ifndef SYS_SIGNAL_H
- #include <sys/signal.h>
- #endif
-
- #define CLSIZE 4
- #define NBPG 1024
- #define CLBYTES (CLSIZE*NBPG)
- #define CLSHIFT 10
- #define CLOFSET (CLBYTES-1)
- #define PZERO 25
- #define MAXHOSTNAMELEN 256
- #define MAXPATHLEN 256
- #define MAXDOMAIN 256
- #define MAXVOL 32
- #define NGROUP 8
- #define NCARGS 32 /* for ftp client, primarily */
- #define MAXALIASES 5 /* max no. of aliases for hosts, services, etc. */
- #define MAXTZNAME 8 /* max length of time zone name */
- #define MAXUSERLEN 32 /* max length of login/username */
- #define MAXSYSLOGRECORD 256 /* max length for syslog record */
- #endif /* SYS_PARAM_H */
-